<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>个人</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="css/global.css">
    <link rel="stylesheet" href="css/personal.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
  </head>
  <body>

    <!-- navbar -->
    <nav class="navbar navbar-expand-lg sticky-top"  data-bs-theme="dark" style="background-color: green;">
        <div class="container-fluid">
          <a class="navbar-brand" href="index.html">吃货小花狮</a>
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
              <li class="nav-item">
                <a class="nav-link active" aria-current="page" href="index.html">主页</a>
              </li>
              
              <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" style="color:white">
                  关于我们
                </a>
                <ul class="dropdown-menu" style="background-color: green;">
                  <li><a class="dropdown-item" href="#">关于网页</a></li>
                  <li><a class="dropdown-item" href="member.html">制作团队</a></li>
                  <li><hr class="dropdown-divider"></li>
                  <li><a class="dropdown-item" href="#">Something else here</a></li>
                </ul>
              </li>
            </ul>
          </div>
        </div>
      </nav>

      <!--main-->
    
      <div class="container" id="personal_data">
        <!--
            <img src="photos/test-person-icon.jpg" class="mx-auto d-block personal-icon rounded-circle" >
            <a href="change_personal_data.html"><button type="button" class="btn btn-outline-warning mx-auto d-block" id="change_personal_data">修改个人信息</button></a>
            <div class="card" style="width: 100%;margin-top: 5%;">
                <ul class="list-group list-group-flush">
                  <li class="list-group-item">昵称：Ivan</li>
                  <li class="list-group-item">邮箱：whitetiger123asd@gmail.com</li>
                  <li class="list-group-item">Never Give Up</li>
                </ul>
            </div>
            
        -->

      </div>
      <div class="container">
          <button type="button" class="btn btn-secondary" style="margin-top: 5%;" id="logout">登出</button><br>
          <button type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#staticBackdrop" style="margin-top: 5%;" id="delete-acc">注销</button><br>
      </div>

      <!-- Modal -->
      <div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
          <div class="modal-content">
            <div class="modal-header">
              <h1 class="modal-title fs-5" id="staticBackdropLabel">警告</h1>
              <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
              确定要注销帐户吗？
            </div>

            <div class="mb-3 row confirm-info">
              <label for="name" class="col-sm-2 col-form-label">昵称</label>
              <div class="col-sm-10" id="confirm-name">
                
              </div>
            </div>
            <div class="mb-3 row confirm-info">
              <label for="inputPassword" class="col-sm-2 col-form-label">密码</label>
              <div class="col-sm-10">
                <input type="password" class="form-control" id="inputPassword">
              </div>
            </div>
            <div id="warning" class="confirm-info" style="color: red;"></div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">关闭</button>
              <button type="button" class="btn btn-danger" id="confirm-delete">确定</button>
            </div>
          </div>
        </div>
      </div>
      
      <div style="height:30px;"></div>

      <!--footer-->
      <div id="footer-margin"></div>
      <nav class="navbar fixed-bottom bg-body-tertiary">
        <div class="footer">
          <div class="row row-cols-5">
            <div class="col" onclick="location.href='canteen.html'"><img src="icons/normal_u6.png" class="icons"><p class="icon-word">菜品</p></div>
            <div class="col" onclick="location.href='community.html'"><img src="icons/normal_u8.png" class="icons"><p class="icon-word">社区</p></div>
            <div class="col" onclick="location.href='index.html'"><img src="icons/normal_u14.png" class="icons"><p class="icon-word">首页</p></div>
            <div class="col" onclick="location.href='record.html'"><img src="icons/normal_u7.png" class="icons"><p class="icon-word">打卡</p></div>
            <div class="col" onclick="location.href='personal.html'"><img src="icons/normal_u5.png" class="icons"><p class="icon-word">个人</p></div>
          </div>
        </div>
      </nav>

      
      
    
  </body>
  <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
  <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
  <script src="js/checkLogin.js"></script>
  <script  src="js/personal.js"></script>
</html>